package com.cch.cooperation.api.zone.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * 空间加入请求参数
 *
 * @author cch
 */
@Data
public class ZoneUserApplyAuditDTO {

    @ApiModelProperty(value = "申请id", required = true)
    @NotEmpty(message = "申请id不能为空")
    private String id;

    @ApiModelProperty(value = "审核状态(1.通过 2.拒绝)")
    @NotNull(message = "审核状态不能为空")
    private Integer status;
}
